package com.wowangz.cms.topic.attachment.entity;

import com.wowangz.cms.syscore.pojo.BaseEntity;

/**
 * 附件实体
 *
 * @author HUANGYUAN
 *
 */
@SuppressWarnings("serial")
public class Attachment extends BaseEntity {

	private String accessUrl;

	private Long moduletype;// 模块类型
	
	private String path;//文件的访问路径
	
	/**
	 * 问价排序编号
	 */
	private Long sortnumber;
	
	private String filename;
	
	/**
	 * 附件的名称
	 */
	private String name;

	/**
	 * Mongo文件的名称
	 */
	private String mongofileame;

	/**
	 * 附件的大小
	 */
	private String size;

	/**
	 * 文件后缀名
	 */
	private String suffix;

	/**
	 * 附件的类型
	 */
	private String type;

	public Attachment() {

	}

	public Attachment(String name, String mongofileame, String type, String size, String suffix) {
		super();
		this.name = name;
		this.mongofileame = mongofileame;
		this.type = type;
		this.size = size;
		this.suffix = suffix;
	}

	public String getAccessUrl() {
		return accessUrl;
	}
	
	public String getMongofileame() {
		return mongofileame;
	}
	
	public void setMongofileame(String mongofileame) {
		this.mongofileame = mongofileame;
	}

	public Long getModuletype() {
		return moduletype;
	}

	public String getName() {
		return name;
	}

	public String getSize() {
		return size;
	}

	public String getSuffix() {
		return suffix;
	}

	public String getType() {
		return type;
	}

	public void setAccessUrl(String accessUrl) {
		this.accessUrl = accessUrl;
	}

	public void setModuletype(Long moduletype) {
		this.moduletype = moduletype;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}
	
	public String getFilename() {
		return filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Long getSortnumber() {
		return sortnumber;
	}
	
	public void setSortnumber(Long sortnumber) {
		this.sortnumber = sortnumber;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}
}
